package com.supcon.exchangedata.pojo.entity.mysql.operation.lq;

import lombok.Data;

import javax.persistence.*;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * @Author: yangbin
 * @Date: 2022/12/28/15:54
 * @Description: 
 */
/**
    * 路桥养护车辆基础信息
    */
@Entity
@Data
@Table(name = "lq_maintain_car_base", schema = "hzcjtz_roadbridge_coll", catalog = "")
public class LqMaintainCarBase {
    @Column(name = "id")
    private Integer id;

    /**
    * 车辆编号
    */
    @Column(name = "vehicle_number")
    private String vehicleNumber;

    /**
    * 车牌号
    */
    @Column(name = "car_number")
    private String carNumber;

    /**
    * 车辆类型
    */
    @Column(name = "car_type")
    private String carType;

    /**
    * 创建时间
    */
    @Column(name = "create_time")
    private LocalDateTime createTime;

    /**
    * 修改时间
    */
    @Column(name = "modify_time")
    private LocalDateTime modifyTime;

    /**
    * 0-推送定位 1-不推送
    */
    @Column(name = "push_gps_data")
    private Boolean pushGpsData;

    /**
    * 0-正常 1-删除
    */
    @Column(name = "flag")
    private Boolean flag;

    /**
    * 自增序列
    */
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    @Column(name = "tongid")
    private Long tongid;

    /**
    * 数据插入时间
    */
    @Column(name = "tong_time")
    private LocalDateTime tongTime;

    /**
    * 增量数据操作字段
    */
    @Column(name = "op")
    private String op;

    /**
    * 业务数据产生时间
    */
    @Column(name = "biz_time")
    private LocalDateTime bizTime;
}